import java.util.Scanner;

public class Homework_score {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.print("请输入小刘的语文成绩：");
		double a = in.nextDouble();
		System.out.print("请输入小刘的数学成绩：");
		double b = in.nextDouble();
		if ((a >= 0 && b >= 0) && (a <= 150 && b <= 150)) {
			String c = Math.abs(a - b) > 10 ? "小刘偏科" : "小刘不偏科";
			System.out.println(c);
		} else {
			System.out.println("成绩输入有误，滚吧");
		}
	}
}
